package site.yunnong.atvris.service.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author zjh
 * @date 2021/9/7 20:06
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VideoDetailsVO {

    @ApiModelProperty("视频id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long uvid;
    @ApiModelProperty("用户id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long uuid;
    @ApiModelProperty("用户头像url")
    private String userAvatar;
    @ApiModelProperty("用户昵称")
    private String userNickname;
    @ApiModelProperty("分区id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long pid;
    @ApiModelProperty("分区名")
    private String partitionName;
    @ApiModelProperty("视频分级")
    private Integer level;
    @ApiModelProperty("视频链接")
    private String url;
    @ApiModelProperty("视频封面url")
    private String cover;
    @ApiModelProperty("视频时长")
    private String duration;
    @ApiModelProperty("视频标题")
    private String title;
    @ApiModelProperty("视频是否为转载类型 0：转载 1：自制")
    private Integer videoType;
    @ApiModelProperty("是否可转载")
    private Integer rePrintPower;
    @ApiModelProperty("数据来源")
    private String source;
    @ApiModelProperty("视频原作者")
    private String originalAuthor;
    @ApiModelProperty("视频来源")
    private String fromUrl;
    @ApiModelProperty("简介")
    private String remark;
    @ApiModelProperty("视频上传日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime uploadTime;
    @ApiModelProperty("播放量")
    private Integer viewCount;
    @ApiModelProperty("点赞量")
    private Integer likedCount;
    @ApiModelProperty("收藏量")
    private Integer starCount;
    @ApiModelProperty("评论量")
    private Integer commentCount;
    @ApiModelProperty("分享量")
    private Integer shareCount;
    @ApiModelProperty("是否已点赞该视频")
    private Boolean hasSupport;
    @ApiModelProperty("是否已收藏该视频")
    private Integer hasStar;
    
    private List<VideoTagsVO> videoTagList;
    
}
